﻿@{
    ViewBag.Title = "Home";

}

@using (@Html.BeginForm())
{
    <div class="home-theme">
        
        <label for="theme"><b>Select theme: </b></label>

        <select id="theme" name="theme">
            @{
                
                var theme = (Session["theme"] ?? "base").ToString();
                    
              
                if (theme=="base")
                {
                    @:<option value="base" selected="selected">Base</option>
                }
                else
                {
                    @:<option value="base">Base</option>
                }

                if (theme == "start-flat")
                {
                    @:<option value="start-flat" selected="selected">Start (flat)</option>
                }
                else
                {
                    @:<option value="start-flat">Start (flat)</option>
                }

                if (theme == "sunny")
                {
                    @:<option value="sunny" selected="selected">Sunny</option>
                }
                else
                {
                    @:<option value="sunny">Sunny</option>
                }
            
            }
        </select>
        
        
        
        

        
        <button type="submit">Select</button>
    </div>
}
